#ifndef __TARGETDETECTION_H__
#define __TARGETDETECTION_H__
#include "uart.h"
#include "zf_common_headfile.h"


#define TargetDetect_buad 921600
#define TargetDetect_uart_num UART_1
#define TargetDetect_uart_rx UART1_RX_B13
#define TargetDetect_uart_tx UART1_TX_B12




typedef enum
{
    TDNull,
    TDleft,
    TDMid,
    TDRight
}TargetDetectionRes;


void TargetDetectionInit();


TargetDetectionRes  GetTaretDetectRes(int* Movup);






#endif //__TARGETDETECTION_H__